package com.ssm.helong.shop.Dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface GoodsAttributeMapper {

    /**
     * 库存数量更新
     *
     * @param id
     * @return
     */
    int updateStock(@Param("id") Integer id);

    /**
     * 查询库存
     *
     * @param id
     * @return
     */
    int selectStock(@Param("id") Integer id);
}
